﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="NewDestination.aspx.cs" Inherits="TourAgency.Admin.Create.NewDestination"
    ValidateRequest="false" %>

<asp:Content ID="HeaderContent" ContentPlaceHolderID="HeadContent" runat="server">
    <style type="text/css">
        .style1
        {
            width: 40%;
            margin-right: 0px;
        }
        .style2
        {
            width: 117px;
        }
    </style>
</asp:Content>
<asp:Content ID="BodyContent" ContentPlaceHolderID="MainContent" runat="server">
    Create new destination:<br />
    <table class="style1">
        <tr>
            <td class="style2">
                Destination name
            </td>
            <td>
                <asp:TextBox ID="textBoxName" runat="server" Width="213px"></asp:TextBox>
                <asp:RequiredFieldValidator ControlToValidate="textBoxName" ID="nameValidator" runat="server"
                    ErrorMessage="Destination name is required" CssClass="failureNotification" Text="*"
                    Display="Dynamic"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td class="style2">
                &nbsp;
            </td>
            <td>
                <asp:ValidationSummary ID="ValidationSummary1" runat="server" CssClass="failureNotification" />
                <asp:Button ID="buttonAddDestination" runat="server" Text="Add" OnClick="buttonAddDestination_Click" />
            </td>
        </tr>
    </table>
    &nbsp;
</asp:Content>
